package com.ruoyi.jinchuguanli.service;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.jinchuguanli.domain.Xiaoshouchuku;
import com.ruoyi.jinchuguanli.domain.XiaoshouchukuReturn;

import java.util.List;

/**
 * chukuService接口
 *
 * @author ruoyi
 * @date 2023-11-08
 */
public interface IXiaoshouchukuService {
    /**
     * 查询chuku
     *
     * @param id chuku主键
     * @return chuku
     */
    Xiaoshouchuku selectXiaoshouchukuById(Long id);

    /**
     * 查询chuku列表
     *
     * @param xiaoshouchuku chuku
     * @return chuku集合
     */
    List<Xiaoshouchuku> selectXiaoshouchukuList(Xiaoshouchuku xiaoshouchuku);

    /**
     * 新增chuku
     *
     * @param xiaoshouchuku chuku
     * @return 结果
     */
    int insertXiaoshouchuku(Xiaoshouchuku xiaoshouchuku);

    /**
     * 修改chuku
     *
     * @param xiaoshouchuku chuku
     * @return 结果
     */
    int updateXiaoshouchuku(Xiaoshouchuku xiaoshouchuku);

    /**
     * 批量删除chuku
     *
     * @param ids 需要删除的chuku主键集合
     * @return 结果
     */
    int deleteXiaoshouchukuByIds(String ids);

    /**
     * 删除chuku信息
     *
     * @param id chuku主键
     * @return 结果
     */
    int deleteXiaoshouchukuById(Long id);

    List<XiaoshouchukuReturn> selectXiaoshouchukuReturnList (Xiaoshouchuku xiaoshouchuku);

//    List<XiaoshouchukuReturn> selectXiaoshouchukuReturnList (XiaoshouchukuReturn XiaoshouchukuReturn);

    int updateXiaoshouchukuReturn (XiaoshouchukuReturn xr);

    String updateChuKuDan(Xiaoshouchuku xc);

    XiaoshouchukuReturn aReturnFormat(Xiaoshouchuku xiaoshouchuku);

    int selectIdForNewOne();

    List<SysUser> selectUserList();
}
